#include <stdio.h>
#include "DynamicArray.h"


int main (int argc, const char * argv[]) {
    // insert code here...
    printf("Hello, World!\n");
	
	DYNAMIC_ARRAY(char,testChar);
	
	DYNAMIC_ARRAY(int,testInt);
	
	
	for (unsigned int i = 0; i < 10 ; i++) {
		int x = i*i;
		testInt.push_back(&testInt,&x);
	}
	
	printf("%d\n",testInt.objectAtIndex(&testInt,4));
	
	for(unsigned int i = 0 ; i < argc; ++i)
	{
		printf("%s \n",argv[i]);
	}
	
    return 0;
}
